onUpdateServer

Runs on the logical server after an updated config is prepared for saving. Typically, this will be after a config update is received from a connected client, and that update passes permission checks.

Client-only code shouldn't be run here.

Author

fzzyhmstrs

Since

0.7.4

Parameters

context

ServerUpdateContext information regarding the server and possibly player involved with the update

See also


open fun onUpdateServer(playerEntity: ServerPlayerEntity)

Deprecated

Scheduled for removal 0.9.0. Will stop functioning by 0.8.0. Will not crash in 0.8.0, but will not be wired in any more. Replace with the version that uses a ServerUpdateContext input. This may not be called in all cases, potentially skipping needed events

USE THE OTHER OVERLOAD INSTEAD PLS

Runs on the logical server after an updated config is prepared for saving. Typically, this will be after a config update is received from a connected client, and that update passes permission checks.

Client-only code shouldn't be run here.

Author

fzzyhmstrs

Since

0.5.0, deprecated 0.7.4, soft-removal by 0.8.0, removal by 0.9.0

Parameters

playerEntity

ServerPlayerEntity - the player that provided the update.

See also